/*
 * @Descripttion: 
 * @Author: 李增辉
 * @Date: 2024-03-14 09:18:05
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2024-03-14 14:08:48
 */

export type ButtonType = 'primary' | 'danger' | 'info' | 'success' | 'warning'

export type ButtonSize = 'small' | 'normal' | 'large'

export type NativeType='button' |'submit' | 'reset'

export interface ButtonProps {
  type?: ButtonType,
  size?: ButtonSize,
  plain?: boolean,
  round?: boolean,
  circle?: boolean,
  disabled?: boolean,
  nativeType?:NativeType,
  autofocus?:boolean
}

export interface ButtonInstance{
  ref :HTMLButtonElement
}